package com.xihua.sx.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author astupidcoder
 * @since 2023-06-16
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("driver")
public class Driver  {

    /**
     * ID
     */
    @TableId(value = "driver_id", type = IdType.AUTO)
    private Integer driverId;

    /**
     * 姓名
     */
    private String driverName;

    /**
     * 性别
     */
    private String driverSex;

    /**
     * 身份证
     */
    private String idNumber;

    /**
     * 手机号
     */
    private String phoneNumber;

    /**
     * 地址
     */
    private String address;

    /**
     * 驾驶证编号
     */
    private String licenseCode;

    /**
     * 驾照类型
     */
    private String licenseType;


}
